#include "leetcode.h"

struct LinkedListNode
{
    LinkedListNode( int32_t v ) : value( v ) { }
    int32_t         value = 0;
    LinkedListNode* next  = std::nullptr_t();
};

extern bool hasCycle( LinkedListNode* root );
